﻿namespace SwissTransTracker
{
    /// <summary>
    ///     See transport.opendata.ch
    /// </summary>
    public class Coordinates
    {
        /// <summary>
        ///     The type of the given coordinate
        /// </summary>
        public string Type { get; set; }

        /// <summary>
        ///     Latitude
        /// </summary>
        public int? X { get; set; }

        /// <summary>
        ///     Longitude
        /// </summary>
        public int? Y { get; set; }

        public override string ToString()
        {
            return string.Format("Type: {0}, X: {1}, Y: {2}", this.Type, this.X, this.Y);
        }
    }
}